package com.mazaiting.generator;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * 代码生成
 *
 * @author mazaiting
 * @create_time 2022/10/20 14:29
 */
//// 启动动态线程池
//@EnableDynamicTp
@SpringBootApplication
@EnableConfigurationProperties
@ComponentScan(basePackages = "com.mazaiting")
@ServletComponentScan(basePackages = "com.mazaiting")
@ConfigurationPropertiesScan(basePackages = "com.mazaiting")
public class DorisGeneratorApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(DorisGeneratorApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
